package com.css.devops.service;

import java.util.List;

import com.css.devops.domain.PipelineMonitor;
import com.css.devops.domain.vo.PipelineMonitorQueryCriteria;
import com.fasterxml.jackson.databind.JsonNode;

public interface DevopsPipelineMonitor {

	/**
	 * 查询pipeline构建列表
	 * @param pipelineMonitorQueryCriteria
	 * @return
	 */
	List<PipelineMonitor> queryPipelineMonitor(PipelineMonitorQueryCriteria pipelineMonitorQueryCriteria);

	/**
	 * 构建pipeline的各个阶段
	 * @param node
	 * @return
	 */
	PipelineMonitor buildPipelineMonitor(JsonNode node);

}